package com.heshida.mapper;

import com.heshida.po.Orders;

import java.util.List;

public interface OrdersMapper {
    public int saveOrders(Orders orders);
    public Orders getOrdersById(Integer orderId);

    //历史订单
    public List<Orders> listOrderByUserId(String userId);

    //修改订单状态的方法
    public int updateByOrderId(int orderId);
}
